package com.binance.assetservice.data.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.binance.assetservice.data.models.AssetItem;
import com.binance.master.old.config.OldDB;

@OldDB
@Component("asset.service.AssetMapper")
public interface AssetMapper {

    public AssetItem getAssetByCode(@Param("assetCode") String assetCode, @Param("backend") int backend);

    public List<AssetItem> selectAssetByMap(Map<String, Object> param);
}
